﻿CREATE PROCEDURE [dbo].[uspChequeCategoryInsert]
	@ChequeCategoryID int OUTPUT,
	@BankID int ,
	@ChequeCategoryName nvarchar(50),
	@AccountNo bigint,
	@BranchName nvarchar(50),
	@FirstPageNo bigint,
	@PageCount smallint
As
Begin
	Insert Into ChequeCategory
		([BankID],[ChequeCategoryName],[AccountNo],[BranchName],[FirstPageNo],[PageCount])
	Values
		(@BankID,@ChequeCategoryName,@AccountNo,@BranchName,@FirstPageNo,@PageCount)

	Set @ChequeCategoryID = (SELECT Ident_Current('ChequeCategoryID'))

End